<template>
  <div id="student" style="width: 560px; height: 237px">
    <p>&emsp;|&emsp;课程信息</p>
    <el-table :data="tableData" style="width: 560px" height="207px">
      <el-table-column fixed prop="order" label="课程" width="150">
        <el-image
          style="width: 80px; height:50px"
          :src="url"

          

        ></el-image>
<!-- :fit="fits" -->

      </el-table-column>
      <el-table-column prop="name" label="课程名称" width="100">
      </el-table-column>
      <el-table-column prop="phone" label="授课老师" width="110">
      </el-table-column>
      <el-table-column prop="price" label="课程价格（元）" width="100">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import classImg from '../../../assets/img/main-jiaoyutoutiao.png'
export default {
  data() {
    return {
      fits: ["fill"],
      url: classImg,
      tableData: [
        {
          order: "1",
          name: "幼儿英语入门课程",
          phone: "王大山",
          price: "3000.00",
        },
      {
          order: "1",
          name: "幼儿英语入门课程",
          phone: "王大山",
          price: "3000.00",
        },
      ],
    };
  },
};
</script>

<style lang='less' scoped>
#student {
  margin-left: 6px;
  background-color: white;
  p {
    font-weight: 1000;
    color: #438afe;
    height: 30px;
    line-height: 30px;
  }
}
</style>